import Vue from 'vue'
import App from './App.vue'
import router from './router'
// 引入element
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import 'element-ui/lib/theme-chalk/display.css';
import '@/assets/global.css'
import '@/assets/iconfont.css'
//引入组件库
import jvuewheel from '@jyeontu/jvuewheel'
//引入样式
import '@jyeontu/jvuewheel/lib/jvuewhell.css'

// 导入markdown
import mavonEditor from 'mavon-editor'

// 引入滑块验证
import SlideVerify  from 'vue-monoplasty-slide-verify';

import 'mavon-editor/dist/css/index.css'
import '@/utils/jquery-3.6.4'
import axios from 'axios';
import Cookies from 'js-cookie';
import hljs from 'highlight.js';
import 'highlight.js/styles/atom-one-dark.css'






Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(jvuewheel);
Vue.use(mavonEditor)
Vue.use(SlideVerify)
Vue.use(hljs)

axios.defaults.headers.post['Contenst-Type'] = 'application/json;'
axios.defaults.headers.common['token'] = Cookies.get('token')  // 在header中添加token
// axios.defaults.timeout=20000

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
